<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //加这两行是为了避免出现java.lang.IllegalStateException: STREAM异常，
    //此异常不影响效果，在jetty中会出现，tomcat7不会
    out.clear();
    out = pageContext.pushBody();
    request.setAttribute("id", 1L);
    request.getRequestDispatcher("/attr/requestAttribute.do").forward(request, response);
%>
</body>
</html>
